<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="/css/common.css" />
		<link rel="stylesheet" type="text/css" href="/js/flatpickr.min.css" />
		<link rel="stylesheet" type="text/css" href="/bootstrap-3.3.7/css/bootstrap.min.css" />
		<link rel="stylesheet" type="text/css" href="/dialog/css/dialog.css" />
		<link rel="stylesheet" type="text/css" href="/css/font-awesome.css" />

        <script src="/js/jquery-1.9.1.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="/js/google-maps.js" type="text/javascript" charset="utf-8"></script>
        <script src="/js/jquery.validate.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="/js/messages_zh.min.js" type="text/javascript" charset="utf-8"></script>
        <script src="/js/common.js"></script>
        <script src="/js/jquery.form.js"></script>
        <script src="/dialog/js/dialog.js"></script>
        <script src="/js/flatpickr.js"></script>
	</head>

	<body>
		<!--顶部导航 -->
		<nav class="topNavItemBox">
			<div id="ItemBox">
				<div class="title">肉品溯源管理系统</div>
			</div>
		</nav>
		<!-- 左侧导航 -->
		<#include "left.ftl" />

		<div class="page_main">
			<h3>装卸货</h3><span class="add_link"><a href="add">新增装卸货信息></a></span>
			<div class="page_content">
				<h4>装卸货查询</h4>
				<br />

				<form action="/admin/stevedoring/list" method="post">
					<label>装卸货编号</label>
					<input type="text" id="stevedoringId" name="stevedoringId" value="${stevedoringId!""}" class="commonInputtext" /><span></span>
					<label>商品编号</label>
					<input type="text" id="productId" name="productId" value="${productId!""}" class="commonInputtext" />
					<input type="submit" value="查询" <#--onclick="inquery()"--> style="display: inline-block; margin-left: 50px;" />
                </form>

				<div>
					<table id="carsInfo_table" class="table" width="100%">
						<thead>
							<tr>
								<th width="20"><input id="checkall" type="checkbox" /></th>
								<th width="70">装卸货编号</th>
								<th width="70">物流批次</th>
                                <th width="50">货车编号</th>
                                <th width="100">路线名称</th>
                                <th width="100">公司名称</th>
								<th width="50">商品编号</th>
                                <th width="100">商品名称</th>
								<th width="60">装卸货类型</th>
								<th width="100">录入时间</th>
								<th width="30">操作</th>
							</tr>
						</thead>
						<tbody id="tbody">
							<#list page.list as vo>
								<#--<tr --id="no_data">-->
								<tr>
                                    <th width="20"><input type="checkbox" value="${vo.stevedoring.stevedoringId}"/></th>
                                    <th width="70">${vo.stevedoring.stevedoringId}</th>
                                    <th width="70">${vo.stevedoring.transitBatchId}</th>
                                    <th width="50">${vo.transitBatchInfoVO.carInfo.licenseNumber}</th>
                                    <th width="100">${vo.transitBatchInfoVO.transportRouteInfor.routeName}</th>
									<th width="100">${vo.transitBatchInfoVO.companyInfo.compname}</th>
                                    <th width="50">${vo.stevedoring.productId}</th>
                                    <th width="100">${vo.product.productname}</th>
                                    <th width="60">${vo.stevedoring.actionType}</th>
                                    <th width="100">${(vo.stevedoring.loadTime?string("yyyy-MM-dd hh:mm:ss"))}</th>
                                    <th width="30">
										<input type="button" onclick="edit1(${vo.stevedoring.stevedoringId})"  value="编辑"/>
										<#--<input type="button" onclick="JavaScript:if(confirm('是否删除')){ delete1(${vo.stevedoring.stevedoringId})}" value="删除"/>-->
									</th>
								</tr>
							</#list>
						</tbody>
					</table>
				</div>
				<!-- <input type="button" id="deleteAllchoice" value="删除所选"> -->
				<div id="barcon" name="barcon" style="margin-left: 200px;font-size:10px"></div>
			</div>
			<div class="footer">
				<div class="footer_lineone">
					<span id="logo"></span>肉品溯源管理系统 
					<span class="footer_lineoneSpan"><a href="aboutus.html">关于我们</a></span>
					<span class="footer_lineoneSpan"><a target="_blank" href="http://www.cfsiw.com/">食品安全信息</a></span> 
					<span class="footer_lineoneSpan"><a href="suggestionAdd.ftl">联系我们</a></span>
				</div>
				<div class="footer_linetwo">
					 &copy;2017广东技术师范学院
				</div>
			</div>
		</div>
	</body>

</html>